* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
	/* background-color: #f7f7f7; */
	background-color: #fff;
}



html {
	font-size: 10px;
	background-color: #f7f7f7;

}


.container {
	width: 100%;
}

.top,
.main,
.footer {
	width: 100%;
}



.top {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: 2.2rem;
	background-color: #fff;
}


/*  */
#brand {
	width: 4rem;
	height: 2.2rem;
	display: block;
	/* 垂直居中 */
	vertical-align: -webkit-baseline-middle;
}


#brand {
	border-radius: 5px;
}



/* main 区域 begin */
.main {
	height: auto;
	position: absolute;
	top: 2.2rem;
	bottom: 2rem;
	background-color: #f5f5f5;
	width: 100%;
}


.main ul {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	font-size: 0.5rem;
}


/* 课程图片 */
.main ul .class-logo {
	width: 3.9rem;
	height: 2.1rem;
	vertical-align: -webkit-baseline-middle;

	border-radius: 5px;
}



/* 课程购物车 */
.main ul .shop-car {

	width: 1rem;
	height: 1rem;
	vertical-align: -webkit-baseline-middle;


}


.main ul li {
	flex: 1 1 3rem;
	display: flex;
	flex-direction: row;
	border-bottom: 1px solid #dcdcdc;
	/* flex 对于子项的对齐方式 */
	align-items: center;

	/* 剩余空间 分配 */
	justify-content: space-between;
}


.main ul li>div {

	/* 	margin-left: 0.2rem;

	margin-right: 0.5rem;
 */

	margin-left: 0.5rem;
	margin-right: 0.5rem;
}



/* main 区域 end */






/* footer 区域 开始 */
.footer {

	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2rem;
	display: flex;

}


.footer div {
	/* 允许扩大，缩小 */
	flex: 1 1 auto;
	text-align: center;
}


.footer div img {
	width: 1.5rem;
	height: 1.5rem;
	vertical-align: -webkit-baseline-middle;
}
